<template>
  <div>详情页：{{ $route.query.id }}</div>
</template>

<script>
import { merchandiseDetailsApi } from "@/request/api";
export default {
  async created() {
    const merchandiseDetailsRes = await merchandiseDetailsApi(
      this.$route.query.id
    );
    console.log({ merchandiseDetailsRes });
  },
};
</script>

<style>
</style>